
<!DOCTYPE html>
<html>
<head>
<?php $this->inc('root/_pub/weys~imp'); ?>
<meta name='robots' content='noindex, nofollow'>
<title>
    <?=$_info['errmsg']?>:<?=$_info['errno']?>
    - <?=$_cbase['name']?>
</title>
<style type="text/css">
.vcodes img{ height:40px; }
@media only screen and (max-width:550px){
    .demo1 i, .demo2 i{ font-size:small; }
}
</style>
</head>
<body>
<?php $this->inc('root/_pub/weys~head'); ?>


<?php
$char = empty($_info['errno']) ? '(•◡•)' : '(╯︵╰)';
$icon = uval('icon', 'check-square-o');
$mkvs = $_cbase['mkvs'];
$debug = Debug::bugInfo();
?>


<article class="">
<div class="msg">

    <?php if($_info['errno']){ ?>

    <h3><?=$char?> <?=$_info['errno']?> <?=$char?></h3>
    <p class="tc emr"><?=$_info['errmsg']?></p>
    <div class="error"><i class="fa fa-warning"></i></div>
    <h4 class="gray">提示信息</h4>
    <ul class="gray">
        <li><span class="gr9">Error-Code:</span> <?=$_info['errno']?></li>
        <li><span class="gr9">Error-Info:</span> <?=$_info['errmsg']?></li>
        <li><span class="gr9">Mkv-Path:</span> /<?=$mkvs['part']?>/<?=$mkvs['mkv']?></li>
        <li><span class="gr9">Server-Time:</span> <?=date('Y-m-d H:i:s')?></li>
    </ul>

    <?php }else{ ?>

    <h3><?=$char?> <?=$_info['errmsg']?> <?=$char?></h3>
    <div class="okey"><i class="fa fa-<?=$icon?>"></i></div>

    <?php } ?>

    <h3>
        <a href="<?=path('w')?>"><i class="fa fa-home"></i>返回首页</a> 
        <?php if($debug['rp']){ ?>
        <span class="gr9">•</span>
        <a href="<?=$debug['rp']?>" id='godef'>上一页<i class="fa fa-user"></i></a>
        <?php } ?>
        <span class="gr9">•</span>
        <a href="<?=$debug['vp']?>" id='godef'>重试本页<i class="fa fa-refresh"></i></a>
    </h3>

    <?php if(!empty($_trace)){ ?>
    <hr>
    <h4 class="gray">详情信息(_trace)</h4>
    <ul class="gray">
        <?php foreach($_trace as $rk=>$row){ ?>
            <li><?=$rk?> = <?=$row?></li>
        <?php } ?>
    </ul>
    <?php } ?>


</div>
</article>


<?php $this->inc('root/_pub/weys~foot'); ?>
</body>
</html>
